Add code & tests for static JSON file generators