Refactors `Solusvm::Client` to use JSON API