Builds pretty config class from multidimensional arrays