Update the client_list output to a seperate function.
Clean up the json channel list output for easier reading/debugging.
Sync the json state and xml state - I think they are the same now.
Add the client list to the xml output.