fix etcd library to handle both Hashie::Mash and OpenStruct class types