Support non-flat arrays and objects containing all kinds of values