added json serializer spec support