Extend json_get to support templates

Signed-off-by: Raul Gutierrez S <rgs@itevenworks.net>