Fix missing return in ensureDouble()
Use the new json exception stuff for parsing
Merge branch 'develop' into quickmod