valid json, collect headings, add Makefile