to_dict# UserDefinedLayout.to_dict() → dict# Return a JSON-serializable dictionary for the full template tree.