Format can be passed as a string or as a symbol. Fixes #23 #24 #25
Only use libxml-ruby with mri