Returned todolist object is convert to an array to be sent in the json response, fixes bug where you couldn't add a new todo item to a newly created todo list