Add JSON parsing and string functions to template funciton map