add more arguments to escape

make escape support more parameters from json