Added a way to parse JSON without need a try-catch. More changes to the
new Client class.