Simple ruby hash filter