convert gaia, first attempt
support hashes and indexes