parses brands from device yaml
parses models from device yaml
prepares nesting of models under brands