changed JSON keys in pullTasks() to not have white spaces.