Getting Category's custom field value from Topic

Thanks. Could there be an example where custom field is being added to a serializer? Quick scan didn’t reveal such thing being used in some popular plugins