Example RESTful call and JSON parsing