Basic logging with JSON responses