Json implementation

reads to and from a file