refactor: change the way responses are limited to json only
refactor: change routes so default format is json