Updated code to use deadline and color field. Changed output of the json.