Makes can-value and can-EVENT work with {}

For #905