modified class serializer to serialize public properties and fields that are not static and not readonly
modified struct serializer to omit readonly fields (Expression.Assign() method does not allow to overwrite readonly fields)