fix object-hashtable conversion for array elements that are objects