Render a record as JSON