set corrects tags for both yaml and json