Moving serializer configuration to a separate config file