adding json representation of glossary terms