Fix the HierarchyConverter to produce a consistent result

- Implement to convert/revert the path for all path segments
- Refactor the auto-hierarchy support for the content file

Resolves: https://www.pivotaltracker.com/story/show/71140570