use hashie for object-like access to attributes