Add model metadata to view root elements