Added support for JSON requests with Google Places API.