msiSetMetadataFromJSON is working correctly