LPS-48834 Fix broken tests
LPS-48804 Model primary keys can contain commas and apostrophes, so use JSONArray instead of StringUtil.merge