Switch to accepting a .json file path as argument, instead of a specialised syntax