Now handles individual channel information in the "get current devices" response

Fixed a bug where the patchbay port could come up as 0
Fixed a few cases where zero length arrays sent over JSON could be sent
as "null" instead of zero length arrays