WIP getting template structure to client