added json output for tags