These patches move the processing of layoutget to xdr time. The first 3 patches perform fixups/cleanups of layoutget processing and the 4th patch actually changes the export interface.