Don't need to keep track of a value for a type anymore.
Bijective to_json in json-lib works.
Use cmake as the build system. Not completely finished