v0.3.1 fix parent and root contexts for root object

Also, add values property for completeness.
'prop' property is not added, shouldn't be necessary.