fix(compartment-mapper): policy, parser type fixes (#3247)