#76 Modified deploy_modules to make sure REST API options are put in the right place, based on the group and appserver names