asJsonString

Return state as a JSON string.