code: def load(uid=None):
      
      app.logger.info("GET /sync route with id: %s" % uid)
  
      try:
          user = Participant.query.\
              filter(Participant.uniqueid == uid).\
              one()
      except exc.SQLAlchemyError:
          app.logger.error("DB error: Unique user not found.")
  
      try:
          resp = json.loads(user.datastring)
      except:
          resp = {
              "condition": user.cond,
              "counterbalance": user.counterbalance,
              "assignmentId": user.assignmentid,
              "workerId": user.workerid,
              "hitId": user.hitid,
              "bonus": user.bonus
          }
  
      return jsonify(**resp)
docs: Load experiment data, which should be a JSON object and will be stored
      after converting to string.