Simplified code
Using JSON to gather the servers
Redundant String usage

The JSON method already converts it into an integer
Using JSON to gather the server information