rewrite ObjectExpression in spider