Fix pools with remote scheduler

I guess tuples are serialized as lists?

Also, scheduler.Task.pools is just a list of names, rather than
(name, max_capacity)