Fix quotation mark & apostrophe related i18n bug

Just done by adding a custom mako filter that calls json.dumps :)