Fix Jsonrest for Dope