Template properties serialization

:warning: This depends on https://github.com/montagejs/montage/pull/1322 :warning: