add difficulty to json