add safety string option to prevent a json vulnerability