clean metadata to 1.3-style