write expectation can be a Hash, in which case it is assumed to be pretty-printed JSON
variable accepts optional id BC#54346046-high-allow-a