FunctionlookupLooks up the data associated with a particular User-Agent string. Returns a list of bytes containing JSON-encoded device data. See here for descriptions of the JSON fields. lookup: func(user-agent: string, max-len: u64) -> result<option<string>, error>;