XD-1788: validate deployment properties

This parses the props higher up in the architecture and validates them before actually preforming the deployment
On one line, you'd need an explicit cast. I'm ok with both