Fixed arrays processing ( arrays can be part of arrays or object )
Fixed processing of sub-objects
(cherry picked from commit aec12602da85078374135b31a69281d914b5776e)