send info to server  with JSON

bugfix JSON