Bugfixes in parsing of user's json string input.