adds getJSONWithoutToken method