splits config into production and non-production sections