fix iteration of arrays in wrapAsyncFunctions()
Merge pull request #164 from cmil/fix-garbled-body

fix garbled arrays in posted JSON data