Add a filter on mako entities to ensure XML entities are converted