fixed json serializer issue