Do not change data node type prematurely, otherwise hashes casted to arrays will not be processed properly