changing json protocol to work with myo connect