remove dependency on bcl and catch exceptions
fix deserialization of private class failing in referenced assembly