fix bug on decode always to assoc array for nested objects in an array