fixed parsing of array values
added findExpression to query.js