I think it may be confusing that we have both map<string, AnyValue> and Attribute, which essentially is the same thing. It is probably worth explaining what the difference is, e.g. map<string, AnyValue> is a type of AnyValue, used for nested data structures, while Attribute is not and is used as a top-level field of data models.
Originally posted by @tigrannajaryan in #4651 (comment)