Switch to generic xcontent serialization of MetaData
Switch to generic xcontent parsing of MetaData