Added validateRootNode method for configTreeeBuilder method simplification.