compute dependency based on data.json and and optional file only if a web output is asked