need to force wrap in generated_ref_id in case we go raw
don't display various XML bits unless data provided
better configuration block