NXBT-520: json.load expects a file obj instead of a filename