fix for testing with Google Cloud Endpoints API