Converting find(:all) to hashes