Refactor: remove format response condition for API controllers