Fixed json type parsing issue