Modify result of sniff to be an object rather than a string