Add missing properties to flash message
Make flash message serializable - close #76