Simplify registration function and change formatting.
Simplify registration function and change formatting.

onedata/cluster-worker,onedata/cluster-worker,onedata/oz-worker,onedata/oz-worker,onedata/oz-worker