Added error detection when processing JSON recieved from asana