Implement validating config parser