Python newbie here, I am working on a python app which is working fine in version 2.7 and is using flask version 0.11. After the code is updated to the latest python version it seems jsonify from flask is returning bytes instead of a string.
For example jsonify({'name': 'Test'})
results in b'{"name": "Test"}\n'
. I want to get the JSON string. Am I missing something?