Removing serializetype option from api

This doesn't offer any customer value and complicates the code. Always use XML serialization, since that's the only one that actually works in all cases in current codebase.