code: protected static function generateHelperObject($value)
  	{
  		$return = new \stdClass();
  
  		if (!\is_array($value))
  		{
  			$return->value = rtrim($value, "\x00");
  			$return->isUuid = (\strlen($value) == 16 && !is_numeric($return->value) && strncmp($return->value, Config::get('uploadPath') . '/', \strlen(Config::get('uploadPath')) + 1) !== 0);
  			$return->isNumeric = (is_numeric($return->value) && $return->value > 0);
  		}
  		else
  		{
  			$return->value = array_map(function ($var) { return rtrim($var, "\x00"); }, $value);
  			$return->isUuid = (\strlen($value[0]) == 16 && !is_numeric($return->value[0]) && strncmp($return->value[0], Config::get('uploadPath') . '/', \strlen(Config::get('uploadPath')) + 1) !== 0);
  			$return->isNumeric = (is_numeric($return->value[0]) && $return->value[0] > 0);
  		}
  
  		return $return;
  	}
docs: Generate a helper object based on a field value
  
  @param mixed $value The field value
  
  @return \stdClass The helper object