Improve client, use json method inside the guzzle.