Revert "deployment: Correctly merge physical specs."

This reverts commit 52061e589f9b473d5f1efbeebc3f59353a15a253.
Fix emit_resource after the revert of 52061e58