Changes injected objects to default api route