add new /normalize endpoint, update tests