Escaping commands with CDATA block so that commands containing unsafe chars do not 500 error.