Return the inserted row id in json format.