{{#eq apps "link"}}
{{#gt dict.sets.size 1000}}
[
         {{#each dict.sets   }}
            {{#eq dict.valueType "String"}}
    { "name": "{{name}}","value": "{{value}}","label": "{{label}}"{{#if parent}},"parent": "{{parent}}"{{/if}} }{{#unless @last}},{{/unless}}
            {{/eq}}
            {{#eq dict.valueType "Integer"}}
    { "name": "{{name}}","value": {{value}},"label": "{{label}}"{{#if parent}},"parent": {{parent}}{{/if}} }{{#unless @last}},{{/unless}}
            {{/eq}}
        {{/each}}
]
{{/gt}}
{{/eq}}