Jenkins cant apparently create a json file by itself