Modified get-client-list and get-client-info to generate json strings