saving/loading JSON now supports also tuples and lists