Fixing an offline JSON bug