Different approach to nested array validation.

Flattening the nested input arrays to a single-dimension array with nested keys represented by the standard dot-notation.