Parse metadata separated by quotes and spaces.

It also remove trailing quotes in complete lines.