- fixed issue with limit not being added if not implicitly defined int
- enable auto escaping and added json escape filters for use inside of smarty templates