pub fn account_result_to_rpc_result<T>(
    param: &str,
    result: Result<T, AccountError>
) -> Result<T>