Gigya seems to return invalid json, so i've added a fix that returns valid json.