debugged serializer