deploy fixes

* store deploy_modules with build_configuration as array of hashes
* restore deloy_modules in build_configuration from array of hashes