Fixing json and body for oauth