[master] fix bitrot bug in worker initialization and add deep_merge as a dependency