deploy_jdn: use proper array instead of long strings and quote some unquoted variables
nothing really changed functionality-wise, but my mind works better
knowing there are real arrays instead of relying on $IFS and the
transparent "unpacking" of bash.
Signed-off-by: Mattia Rizzolo <mattia@debian.org>