Generate local JSON with the local referenced files.