An attempt at writing an application for issuing a REST request and parsing the response using groovy