create arrays by passing a collection and closure to the json builder. The (builder) closure will be called for each object in the collection
cleanup.
simplified loops.
optimized array handling, removed double clone().
added collection/closure support to StreamingJsonBuilder.
removed some duplication.
improved readability.
removed some duplication.
Merge pull request #232 from hauner/jsonbuilder

Json Builder feature