ImmutableMap.Builder<String, PrimitiveData> resultMapBuilder = ImmutableMap.builder();
for (Map.Entry<String, ?> entry : compileTimeGlobalsMap.entrySet()) {
Object valueObj = entry.getValue();
PrimitiveData value;
boolean isValidValue = true;
try {
SoyData value0 = SoyData.createFromExistingData(valueObj);
if (!(value0 instanceof PrimitiveData)) {
isValidValue = false;