return tags as key/value pairs