Tidy up json writes using case and extracted key to val
Read json for basic Memoize2, it was easier to drop the concept of storing that it was a right value if we were never saving any left value