Rename metadata to attributes