anchor.diff:  				if( returnType is "json" ){
   					return "[" & arrayToList( recordArray ) & "]";
   				}
  -				if( arraylen( recordArray ) == 1 ){
  +				if( arraylen( recordArray ) == 1 && returnType != "array" ){
   					recordArray = recordArray[ 1 ];
   				}
   				return recordArray;
  
positive.code: 							// only add the mapping if it is to a real table
  							logIt('...is #parentTable# a table? #parentTableDef.getIsTable()#');
  							if( parentTableDef.getIsTable() ){
  								var parentMapping = { "table" = parentTable, "property" = parentTable, "key" = parentTableDef.getPrimaryKeyColumn(), "IDField" = parentTableDef.getPrimaryKeyColumn(), "tableDef" = parentTableDef };
  								addDynamicMappings( field, parentMapping );
  								addDynamicMappings( parentTable, parentMapping );
  
negative.code: 
  		var newEntity = this;
  		if( listLast( variables.meta.name , '.' ) == "BaseModelObject"){
  				newEntity = new BaseModelObject(
  					dao = dao,
  					table = table,
  					// dynamicMappings = getDynamicMappings(),
  					dynamicMappingFKConvention = getDynamicMappingFKConvention(),
  					cacheEntities = get__cacheEntities(),
  					cachedWithin = getcachedWithin(),
  					IDField = IDField,
  					autoWire = getAutoWire() );
  		}else{
  			try{
  				newEntity = createObject( "component", listDeleteAt( variables.meta.fullName, listLen( variables.meta.fullName, '.' ), '.' ) & '.' & table ).init(
  					dao = dao,
  					table = table,
  					// dynamicMappings = getDynamicMappings(),
  					dynamicMappingFKConvention = getDynamicMappingFKConvention(),
  					cacheEntities = get__cacheEntities(),
  					cachedWithin = getcachedWithin(),
  					IDField = IDField,
  					autoWire = getAutoWire() );
  			}catch( any e ){
  				newEntity = new BaseModelObject(
  					dao = dao,
  					table = table,
  					// dynamicMappings = getDynamicMappings(),
  					dynamicMappingFKConvention = getDynamicMappingFKConvention(),
  					cacheEntities = get__cacheEntities(),
  					cachedWithin = getcachedWithin(),
  					IDField = IDField,
  					autoWire = getAutoWire() );
  				// return createObject( "component", variables.meta.fullName ).init( dao = dao );
  			}
  		}
  