Use jbuilder for json respone, remove html_safe.