redone tags.json

todo:
- synonym system
- look into storing mongo queries as json objects