Api now properly sends collections of tasks