msiSetMetadataFromJSON works correctly