Accepts json sent to /tasks/new endpoint