Added initial nested element hashing functionality