tidup up indentation, use network order for swizzling IPC and RPC data