Editor builds data files from managed instead of native code

imo this plus the accompanying changes should be split into a single commit like "replace hardcoded property name length with a named macro"