detect serialized arrays

Also decode serialized arrays.