json serializer functional test