Added functions to convert item_ids into posts to several routes files