MDL-40258: Fixed invalid json string error in file-picker