fix: ordered elements and attributes to make file content deterministic