Eternal loop in JsonUtils.readPossibleVariableUri
Bad JSON parsing code caused infinite loop when given proper but useless JSON input.
The problem manifested e.g. when CTRL+dragging diagram flags onto a time series chart editor.
The problem was caused by the changes done in #331 (closed).
Edited by Tuukka Lehtonen