Runs a url that expects a JSON return value. Returns the result when it arrives