replaced encoding/gob with encoding/json for interoperability reasons