put uid back in json