support for non string data and simple log injection mitigation