added json object response for both gps and network provider checks