Add model of documentation json files

Can be used later to compute recommended version numbers if types
change, functions are added, etc.
Add way to generate .html from .json documentation