MDL-61667 analytics: Add methods to read and validate model declarations