NXP-15565: handle document mode fallback on documentLayout tag