getAttributes(snapshot) {
    return typeMapGetAll(this);
  }
Returns all attribute name/value pairs in a JSON Object.

@param {Snapshot} [snapshot]
@return {Object<string, any>} A JSON Object that describes the attributes.

@public