json based networking