Fix numeric values and undefined keys

Using numeric values crashes
Using keys not in the YAML throws `undefined method 'merge' for nil:NilClass>`
Also, numeric values respond to `[](value)` but not `[](start, finish)`