serialize the parseSql