The current Sanitization logic placed in Sanitizer.java does not adhere to the new schema (has old specifications for Maximum length allowed of various fields)
The new schema has specific lengths for various kinds of telemetry whereas the current has a common length for name. Sanitization is based on regex which is not correct, needs to be done according to json specifications.
Solution: Move all the sanitization logic to JsonTelemetryDataSerializer class where the actual json string is created. Update the Bond Definitions to automatically generate write methods with parameters.