save to json ready