Will change to getattr for now.  The global makes it a bit easier to quickly en/disable different formats while under development.  Once it's somewhere stable I can fold into the cnstructor.