make skeleton export table functionality more reusable