Optionally support DataContract in Mono/Unity