prettifies the JSON in star-nopt.json
adds metadata rewrite and makes update metadata more explicit