Merged revision(s) 1533927 from ofbiz/trunk/framework/base/src/org/ofbiz/base/json:
Allow JSONWriter to handle Iterators.

Backporting this because it is a bug - exceptions are thrown when the JSONWriter attempts to write EntityListIterator.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/branches/release13.07@1542238 13f79535-47bb-0310-9956-ffa450edef68