Add toJson arrayNotation option

When enabled, XML child nodes are always treated as arrays, for consistency.