Helpers::dump - added support for __sleep and Serializable