GET all tasks refactored to correct json array format