allow backend script to accept multiple checkbox data

In my previous commit I wrongly said that was no was no
to tell between data structure containing selected devices
and new owner. That was a mistake.

In this case I actually have predefined only
two arrays. One with hashes of checkbox selected objects
and second with userid phone will be assigned to. Following
shows picture of what arrays look like

   [ [{hash1},{hash2},{hash3}], [newowner] ]

so I actually have an outer array containing a fixed number
of arrays; two.

This patch is about decoding data from first array with objects
from checkbox selections. This will be useful as a general
technique of sending a range selected objects to the server
for processing.

#print ${ $perl_scalar }[0][0]->{device} . " will be assigned to " . ${ $perl_scalar }[1][0]->{ownerid};
#print ${ $perl_scalar }[0];   # shows array ref ARRAY(0xe4b208), first array containing hashes
#print ${ $perl_scalar }[0][0];   # shows first hash HASH(0x16a6140)
#[[{"name":"Helpdesk","uid":"helpdesk","dirn":"2772","device":"SEPB8621F6D788D","sf":"None"}],[{"ownerid":"whouston"}]];

#print @{$perl_scalar};    #shows ARRAY(0x23e82e8)ARRAY(0x23e8138)