serializer spec and fixes