Escaping curly brackets

As per Issue 405