More robust parsing of METADATA_SETTING tagged blocks. See GH-34. Thanks @zewt for the test file.