mockJSON.message(0).body().isInstanceOf(byte[].class);
Object json = template.requestBody("direct:marshalInlineOptions", in);
String jsonString = context.getTypeConverter().convertTo(String.class, json);
JSONObject obj = (JSONObject) JSONSerializer.toJSON(jsonString);
assertEquals("JSON must contain 1 top-level element", 1, obj.entrySet().size());
assertTrue("Top-level element must be named root", obj.has("root"));
// check that no child of the top-level element has a colon in its key,
// which would denote that
// a namespace prefix exists
for (Object key : obj.getJSONObject("root").keySet()) {