macro to construct val
Macro for mustache context