Casts replaced object to array.
Decodes content.