FIX: mjava.get_hash_code breaks for single-key hashes