make sure attempts to iterate a plain json object works