Fixing bug with saving metadata at resource creation in Vault