Catch IOExcetpoin, throw RuntimeException in JsonString. Added JUnit-test