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