Allow the mapper to return a hash
Added the ability to search by attribute