Utility methods for Ruby Hashes