fix bug where json editing doesn't save properly for secrets (#5660)
fix bug where json editing doesn't save properly for secrets (#5660)


kingland/vault,joelthompson/vault,hashicorp/vault,quixoten/vault,kingland/vault,hartsock/vault,hashicorp/vault,rnaveiras/vault,quixoten/vault,hashicorp/vault,kingland/vault,joelthompson/vault,hartsock/vault,joelthompson/vault,joelthompson/vault,hashicorp/vault,quixoten/vault,hashicorp/vault,hartsock/vault,hartsock/vault,hartsock/vault,rnaveiras/vault,kingland/vault,rnaveiras/vault,kingland/vault,rnaveiras/vault,rnaveiras/vault,quixoten/vault,hashicorp/vault