How about:

```ruby
options = { _source: options.source, _target: options.target || "." }
{ _meta: { "#{transition_semantic.name}_options" => options }
```