It serializes correctly.
For JSON you need an appropriate converter but as I said I would not use WCF with JSON.