Added some documentation regarding encoding+decoding of structs based off of the encoding/json docs