Serialize entity properties