Adapted database metadata generation for omx 2.2 model