[Truffle] Implementing method #to_a for hash instances