Bugfix to serialization on Mono.NET
work git

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