chaned api specs

hashes are no longer used as keys in object