Generate react-route routs from configuration tree