Upgrade to Groovy 2.3.4 and add Gson library
Demo using Gson