updated ledger_summary Ledger method to pass an array instead of a hash