Fixed issue when 2 objecs with different rootKey sent without array wrapping