Fixing GET requests.

Previously, '.json' suffix was being appended at the wrong location.