Better support for converting Groovy "json" to JsonObject and JsonArray