modified simple_json to work with modified patient and therapist preferences/availlabilities