XD-1788: validate deployment properties

This parses the props higher up in the architecture and validates them before actually preforming the deployment
collapsing this to one line would be better IMO