An InvalidOperationException will result in a HTTP 400. Also re-enabled type name handling on Json Serializer settings.