JSONObj obj = JSONWrapper.read(result.getResponse().getContentAsString()).toObject();
assertEquals("foo", obj.str("name"));
assertEquals("http://scratch.org", obj.str("uri"));
assertTrue(obj.bool("default"));
assertEquals(0, obj.integer("maps").intValue());
assertEquals(1, obj.integer("layers").intValue());
assertEquals(0, obj.integer("stores").intValue());
result = mvc.perform(get("/api/workspaces/bar"))
.andExpect(status().isOk())