adds template filters for metadata formatting