added api json generator to snooze cli. added route request/response dto definitions