added custom serialization configuration