[BUG] json string should not be modified by converting back and forth to JSONObject