Updated PUT body parsing