Runtime pickler support for arrays of primitives