Default object serialization, logging added