docs: def jsonify(obj, status=200, headers=None):
      """ Custom JSONificaton to support obj.to_dict protocol. """
      data = JSONEncoder().encode(obj)
      if 'callback' in request.args:
          cb = request.args.get('callback')
          data = '%s && %s(%s)' % (cb, cb, data)
      return Response(data, headers=headers, status=status,
                      mimetype='application/json')