adding unwind link, kind of like mongo's unwind
handle empty or non existent array
better failure message
link for running templates