Always free transformed id, remove uneeded transformed_line data