Fix io to json