JSON requests now also allow "text/html" responses from the server.
Merge branch 'georeporter'