Fix for uninitialized pointer to resolver, fix for json not writing out non-number scalar fields (enums, types, pointers)