handle arrays in new json parsing mechanism, bump version to 0.16.5