Use Python standard library methods when possible
I'm replacing an old method I wrote a long time ago called jq_format() with a Python standard library method that I probably didn't know about then, called re.escape(), which performs the same intended action.