return null instead of an empty object if there is no scan result