code: def _set(self, key, value, identity='image'):
          
          if identity == 'image':
              s = serialize_image_file(value)
          else:
              s = serialize(value)
          self._set_raw(add_prefix(key, identity), s)
docs: Serializing, prefix wrapper for _set_raw