add replaces / replace_reason generation to trackhub manifest