Add taxonomy term metadata to api output