When serializing numeric data to fq, ensure we properly escape the data

Numeric data may contain character sequences that require escape, e.g. "-1"