Faster regeneration of JSON file (#3)