adding support for arrays as secondary index keys