Added a package level variable "InterfaceMarshalFunc". It's used to marshal interface to JSON encoded byte slice, mostly when event.Interface("key", v) is called.