As discussed, lets get a JSON api going for all the selvvir commands, I'll build out everything to absorb it on the front