Client now receives JSON messages