KN-7267 Set max json length for JavaScriptSerializer