protected static function sanitize(string $input) : string { return \json_encode(\preg_replace('#[^\\x20-\\x7e]#', '', $input)); }