add support for 'data' property inheritance in state chain

It would be nice to have possibility inherit and override 'data' field in state chain (from parent to all children, all way down)

My change adds support for 'data' property inheritance/override in state chain.
Could you please review it ?