[TASK] Fixing route to handle only Json calls