Simplify ToJson, make it similiar to ToString