WIP: JSON serialization of get_queues