replaces Node.findByUniqueKeyValue with Node.findByKeyValue and Node.findOneByKeyValue