readObject in JSON reader