Okay, if form data is put directly into json_encode (should be safe), that can happen (although it’s not something I would encounter). But database data? Numeric values should be numbers in the database, not strings.