Ruby based secure shell wrapper using JSON