Changed getJson() method to read in characters instead of lines
Also added ending bracket to string array before it is sent so 
part that creates the channels doesn't have to do that.
Added comments