improved browser backwards compatibility (support for nested arrays)

Change-Id: I3751e1cad5487297a88ced483461711a580e4a8b