Serialize property flags to file and net event

Signed-off-by: serengeor <serengeor@gmail.com>