CORE-5832: updated the format of the /apps/:app-id/tasks endpoint in Donkey for Agave apps