Simplify key sync
Revert "Simplify key sync"

This reverts commit 57c8da1f0a82cd3b292ce2ce99db1120524acbd7.
Add METADATA_IP flag for NCs running EDGE
Refactor cluster-name discovery
Add json-c and json-c-devel as build deps