fixing read-json everywhere