JsonSerialization works recursively with arrays