Add missing "content_type :json" for pure JSON output