Reworked grunt config dictionary generation to be more useful for functional style.