Adding JSON.NET and ProtoBuf serializers.