Starting API controller with JSON output