Convert folders containing systemd unit files to and from JavaScript objects.