implementing serializer dumps