not finished with json, but better at parsing stuff from the tickets