add map pretty printer