fix(ses): Sanitize console format strings (#3307)