built-in jsonify doesn't seem to work as I thought