Management command to convert urls to new form and clean them up. Related to #421