Modify API wrapper to return OpenStruct objects instead of hashes.