@app.errorhandler(UnicodeEncodeError)
def unicode(error):
    return problem(400, 'Unicode Error', 'Connexion was unable to parse some unicode data correctly.')
@app.errorhandler(UnicodeEncodeError)
def unicode(error):
    return problem(400, 'Unicode Error', 'Connexion was unable to parse some unicode data correctly.')