getMapFor must trim left backslashes only.