standard serialization if not bean mode