Use Record.listRelationshipMap for aggregating relationship arrays and
records instead of XMLRecord.map (removed).

Record.print prints relationship records so XMLRecord.print is removed.