Prepare locationhierarchy strings for deployment