In Switzerland , Johann David Wyss published The Swiss Family Robinson in 1812 , with the aim of teaching children about family values , good husbandry , the uses of the natural world and self-reliance .