Minor fixes. Connect should have been async and char arrays were improperly converted to strings in the read json method