Prevent warnings when SimpleXMLElement::xpath returns false instead of an array; return a single array element as a string when saving meta values, to insure we don't break existing behavior