Serializing the dimension for hcl result doesn't make sense - the
analysis hasn't been applied yet. Instead only the type and root should
be present