Return JSON istead of string