Return data as requested instead of JSON only