Change how JSONs are read
Fix example 6