in #activitypub, an remote actor have an optional icon object, which essentially it's the actor's avatar metadata.
but in #mastodon api, the icon object doesn't carry an "id" field in itself, so i cannot correctly map this icon into a more generic "attachments" table (because it requires the presence of id field) in my local instance when i import the remote actor.
some ppl created icon as jsonb to facilitate this non-generic "icon" field.
which isn't a great solution in its api design.