Improved JsonDpObject to correctly serialize with and without provenance