Improve ApiPathNormalizer.normalizeSubResource()