Fix custom meta loop and tags

* template tags use loop functions inside of custom meta class
* tag functions will not try to turn objects directly into html