simplify generated code
add better info about mustache so template can call RESOLVE