added minimal serializer