Replace imported file names with actual structures in proto2js/json, see #78