Networking with JSON and Java