Issue #3079506 by revagomes: Fix 'unserialise expects parameter to be string, array given' on cas_attributes_post_update_unserialize_mappings().
Closes #3079506