Added support for the DeserializeAs attribute with XML with a simple test; Code cleanup;