[fix] Template, to_json

* Template, to_json supports nonobject arrays
Merge branch 'master' of ssh://github.com/just-paja/pwf