Figuring out some json Encoding/Decoding. Need to make bigger and to support more things.