Minor patch for JSON requests