Rendering without layout. Return custom yield tags as JSON

return rendered custom yield tags as JSON object when rendering view without layout