Adds ability to request and parse json data.