serializable model for RPC communication