avoid UnicodeEncodeError when params contains non ascii characters

This use a function located in the helpers module to avoid unicode encode error

See https://github.com/regardscitoyens/nosdonnees/issues/4 for a full traceback