Fix for polymorphic (de)serizlization for xml and json. GET method for
datasource ready