assertEquals(canonical.getAge().intValue(), Integer.parseInt(result.get(
Person.Field.AGE.toString()).get(0)));
Map<String, List<String>> bodyMap = childNodesToMap(childNodeMap.get(
Person.Field.BODY_TYPE.toString()).get(0));
BodyType body = canonical.getBodyType();
assertStringField(bodyMap, body.getBuild(), BodyType.Field.BUILD);
assertStringField(bodyMap, body.getEyeColor(), BodyType.Field.EYE_COLOR);
assertStringField(bodyMap, body.getHairColor(), BodyType.Field.HAIR_COLOR);
assertFloatField(bodyMap, body.getHeight(), BodyType.Field.HEIGHT);
assertFloatField(bodyMap, body.getWeight(), BodyType.Field.WEIGHT);
assertStringListField(result, canonical.getBooks(), Person.Field.BOOKS);
assertStringListField(result, canonical.getCars(), Person.Field.CARS);
assertStringField(result, canonical.getChildren(), Person.Field.CHILDREN);