make expr->value handle JS arrays