Java 8 JavaScript Arrays are Maps, so look there for DYNAMIC RESULT SETS.