Added unittest for inserting and removing objects in an json array at specific indexes. Reproduces #1788.
Setting Parent when inserting json to an array. Fixes #1788
Merge branch 'issue/1788' into develop