Problmes when serializing Objects containing a Binary

Take a look at these code snippets:

There are converter classes for the Newtonsoft JSON serializer and for the JavaScriptSerializer from .NET