Let flask manage json response by itself
Flask versions between stable (1.0.2) and pip(1.1.2) have different behaviors. The oldest version does not automatically handle a dict as return value.
Related to swh/infra/sysadm-environment#3165 (closed)
Migrated from D5468 (view on Phabricator)