support parsing unknown arrays of primitives or primitive wrappers.

In case fields are not explicitly defined in classes, we allow parsing certain type of objects. This commit adds  support to array of primitives or primitive wrappers. e.g.: int[], String[], Integer[]