adding json output to tag-extract