Add support for output in json and numeric format for GET requests