Serializer for collected data