include non-enumerable properties of objects

A problem occurred as the message from an `Error` were not available after decycle. Not the best syntax, but the implementation orientates towards the original code.