map deep-nested categories to post._categories