Implement querying array properties

@alazier