create StringBuilder lazily when parsing JSON strings
Fix tests