if(attributeValue.isDefined())
{
if(ModelType.OBJECT.equals(attributeValue.getType()))
{
// probably children
Property child = attributeValue.asProperty();
ModelNode childOp = new ModelNode();
childOp.get(OP).set(ADD);
childOp.get(ADDRESS).set(toResourceParent.get(ADDRESS));
childOp.get(ADDRESS).add(key, child.getName());