Generate .json file if one doesn't exist (processing model only)

As title says, in cue2json.js. For parsing, several .vtt files could correspond to the same .json file. For example, several .vtt files could produce an empty .json file. So I only enabled this to work for processing model only.