Used json.load instead of loads (no need to read out file).