Simulating deployments explosion in o-c-c

o-c-c explodes the "deployments" key in metadata into individual files.

We are simulating that for the local collector.