A python hierarchical configuration structure for scientific experiments