Fix returnbody bug that created object w/o bucket type