usage of json.Decoder instead of json.Unmarshal

The usage of json.Unmarshal is causing an error (#5)
I've switched from json.Unmarshal to json.Decoder.
For more information check: http://stackoverflow.com/a/15685432