How To Create A Json Structure For A Post Request In R