can cause problems if object and datablock names are different

Just run into this exporting scene of objects with non-matching mesh names.

The problem was that separate object .js files were named based on the object names (object,name), while scene file used names of the meshes (object.data.name)