Test an fix JSON serializer for embedded record updates

I think there is an typo in the JSONSerializer for embedded records.