Added tests for conversion to array.
Added (not working) support for conversions to XML.
Added support for conversions to Regex.