Working object to json convert