Build json files, and split --parse into two steps. Include generated files.