The default max JSON length is set to a relatively small value due to security reasons. However, the result set of bigger instances reached the limit.
Solution:
Setting the value globally did not work.
Workaround: set it locally for each call within the SearchController