Fixes #1420: Handle multiple definitions of standard metadata for Markdown

Warn the user and revert back to original approach (i.e. take the first one).