Study json serializer

Test Coxito json string
Some problem with $type!
Do i need use old json methods?