code: function formatProp(obj) {
  		
  		var out      = {};
  		var props    = _.get(obj, 'propSet');
  		var moRef    = _.has(obj, 'obj') ? util.moRef(obj.obj) : util.moRef(obj);
  		out.id       = moRef.id;
  		out.type     = moRef.type;
  
  		// loop through the propSet
  		if (Array.isArray(props)) {
  			_.forEach(props, function(prop) {
  				out[prop.name] = formatValue(prop.val);
  			});
  		}
  		else if (_.has(props, 'name')) {
  			out[props.name] = formatValue(props.val);
  		}
  
  		return out;
  	}
docs: format each object