Time for action—creating serializers for user-defined classes