ParserOutput::collectMetadata(): don't convert numeric strings to numbers
The PHP is_numeric function returns true *for numeric strings* as well
as for numbers. Reorder two clauses to ensure we don't turn our numeric
strings into numbers when collecting them into a new metadata object.
Bug: T398487
Change-Id: If1f4aa40636b638a6b3cf5c0fb038946559bc781