change hash outputs to openstructs

- get method now outputs OpenStructs instead of hashes