changed to read json only once when writing entries.