fix nil pointer errors in json unmarshallings
fix nil pointer errors in json unmarshallings

initializing a pointer with var gives us a nil pointer, but
initializing a struct with var and taking a pointer gives us
a pointer to an empty struct

deiwin/facebook