Removed redundant function renderJSON
Moved array.forEach redefinition to a more logical place
Removed obsolete global variables
Removed initializeIfEmpty in faor of a result constructor
Cleaning up
Fixed ugliness in tests/resources/few
More cleanup
Small polish