use compare_by_identity when converting hash to allow use of 0.n items such as journal_debit_line