jni datamodel: fix for layout files can have children (derived files)