Updated Dump() to ToJson()