public ElasticObject Attribute(string name) { if (HasAttribute(name)) return attributes[name]; else return null; }