Fixed json parsing
Fixed INVALID_SIGNATURE error