Making good strides on handling JSON style templates.

Should be able to parse things quite nicely very very soon