added support for JSON vaults