Pass the post ID along with the json_insert_post action - ID is not necessarily going to be in $data or $post if this is a *new* post