added support for json.Marshaler interface

... would be great if goson supports the json.Marshaler interface as well