Robuster metadata parsing

Split by ';' honoring quotes instead of relying on ';\n'
pattern