Return JSON from close_vault method

* now open_vault and close_vault return as string
* update tests to support new public interface
0.6.0