[clean] Clean up code
[fix] Replace disallowed JSON characters